import Vue from 'vue'
import VueRouter from 'vue-router'
import index from '../components/index.vue'
import curriculum from '../components/curriculum'
import mine from '../components/mine'
import mydata from '../components/my_data'
import curriculumdetail from '../components/curriculum_detail'
import test from '../components/tese';

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: index
  },
  {
    path: '/curriculum',
    name: 'curriculum',
    component: curriculum
  },
  {
    path: '/mine',
    name: 'mine',
    component: mine
  },
  {
    path: '/my_data',
    name: 'my_data',
    component: mydata
  },
  {
    path: '/curriculum_detail',
    name: 'curriculum_detail',
    component: curriculumdetail
  },
]


const router = new VueRouter({
  routes
})

export default router
